@include('theme.next.layouts.header')
<style type="text/css">
  .user-opearte li{
    float: left;
    width: 15%;
  }
</style>
<main id="main" class="main">
      <div class="main-inner">
        <div id="content" class="content">
<section id="posts" class="posts-expand">

  @foreach ($post_list as $data)
  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
              <a class="post-title-link" href="#" itemprop="url">
              </a>
        </h1>
      <div class="post-meta">
        <span class="post-time">

          {{ $data->author_id }}发表于{{ $data->created_at }}
          <time itemprop="dateCreated" datetime="#" content="#">
          {{ $data->created_at }}
          </time>
        </span>
        <span class="post-category" >
            &nbsp; | &nbsp; 分类于
              <span itemprop="about" itemscope itemtype="https://schema.org/Thing">
              {{ $data->type_id }}
              </span>
       </span>
       <span class="post-comments-count">
                &nbsp; | &nbsp;
               <a rel="nofollow" href="#comments"><span class="ds-thread-count" data-thread-key="" data-count-type="comments"></span></a>
              <!-- <a rel="nofollow" href="#comments"></a> -->
       </span>
      </div>
    </header>

    <div class="post-body">
    <!-- 加载全文 -->
          {{ $data->content }}
    </div>

    <footer class="post-footer">

        <div class="post-eof"></div>

    </footer>
    <ul class="user-opearte">
      <li>点赞</li>
      <li>收藏</li>
      <li>评论</li>
      <li>分享</li>
    </ul>
  </article>
@endforeach
</section>
    <!-- 加载分页 -->
    {{!! $post_list->render() !!}}
  </div>
      </div>
<!-- 加载侧边栏 -->
@include('theme.next.layouts.sidebar')
    </main>

<!-- 加载底部栏 -->
@include('theme.next.layouts.footer')

</body>
</html>